import Vue from 'vue'
import App from './App'
//数据管理中心
// import uView from "uview-ui";
// Vue.use(uView);
import store from '@/store'
Vue.prototype.$store = store;
//权限配置中心
import base from '@/config/baseUrl'
Vue.prototype.$base = base;
//挂载全局http请求
import http from '@/config/requestConfig'
Vue.prototype.$http = http;

// #ifdef H5
// 提交前需要注释  本地调试使用
// const vconsole = require('vconsole')
// Vue.prototype.$vconsole = new vconsole() // 使用vconsole
// #endif

//微信sdk
//let jweixin = require('jweixin-module')  
//Vue.prototype.$wx = jweixin
//全局组件
import zhouWeiNavBar from "@/components/common/zhouWei-navBar";
Vue.component("nav-bar", zhouWeiNavBar);
import publicModule from "@/components/common/public-module.vue";
Vue.component("public-module", publicModule);
// import MescrollBody from "@/components/common/mescroll-uni/mescroll-body.vue";
// Vue.component("mescroll-body", MescrollBody);
import uniPopupMessage from "@/components/uni-popup/uni-popup-message.vue"
Vue.component("uni-popup-message", uniPopupMessage);
import uniPopupDialog from "@/components/uni-popup/uni-popup-dialog.vue"
Vue.component("uni-popup-dialog", uniPopupDialog);
import uniPopupCustomerDialog from "@/components/uni-popup/uni-popup-customer-dialog.vue"
Vue.component("uni-popup-customer-dialog", uniPopupCustomerDialog);
App.mpType = 'app'

//图标
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)


uni.$u.config.unit = 'rpx'
/* import hIcon from "h-icon"
Vue.use(hIcon) */


const app = new Vue({
	store,
	...App
})
app.$mount();